.class public final Lkairo/android/ui/r;
.super Ljava/lang/Object;


# static fields
.field private static H:Z

.field private static I:[I

.field private static J:[I

.field private static K:Landroid/graphics/Bitmap;

.field private static L:[I

.field private static M:[I

.field protected static i:Lkairo/android/i/e;

.field protected static j:I

.field protected static k:I

.field protected static l:I

.field protected static o:Ljava/util/Vector;


# instance fields
.field protected A:B

.field protected B:I

.field protected C:I

.field protected D:Z

.field private E:I

.field private F:I

.field private G:I

.field protected a:[I

.field protected b:Landroid/graphics/Bitmap;

.field protected c:Ljava/lang/String;

.field protected d:I

.field protected e:I

.field protected f:[B

.field protected g:Ljava/lang/String;

.field protected h:Ljava/lang/String;

.field protected m:I

.field protected n:Landroid/graphics/Bitmap;

.field protected p:[B

.field protected q:[S

.field protected r:[B

.field protected s:[S

.field protected t:I

.field protected u:I

.field protected v:I

.field protected w:[B

.field protected x:[S

.field protected y:[Lkairo/android/ui/r;

.field protected z:B


# direct methods
.method static constructor <clinit>()V
    .locals 1

    new-instance v0, Lkairo/android/i/e;

    invoke-direct {v0}, Lkairo/android/i/e;-><init>()V

    sput-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    sput-object v0, Lkairo/android/ui/r;->o:Ljava/util/Vector;

    const/4 v0, 0x1

    sput-boolean v0, Lkairo/android/ui/r;->H:Z

    const/4 v0, 0x7

    new-array v0, v0, [I

    sput-object v0, Lkairo/android/ui/r;->I:[I

    const/4 v0, 0x4

    new-array v0, v0, [I

    sput-object v0, Lkairo/android/ui/r;->J:[I

    const/4 v0, 0x2

    new-array v0, v0, [I

    sput-object v0, Lkairo/android/ui/r;->M:[I

    return-void
.end method

.method private constructor <init>(Landroid/graphics/Bitmap;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Lkairo/android/ui/r;->a:[I

    iput-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    const-string v0, ""

    iput-object v0, p0, Lkairo/android/ui/r;->c:Ljava/lang/String;

    iput-object p1, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    iput v0, p0, Lkairo/android/ui/r;->d:I

    invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    iput v0, p0, Lkairo/android/ui/r;->e:I

    const/16 v0, 0x64

    iput v0, p0, Lkairo/android/ui/r;->G:I

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    const/4 v0, 0x0

    const/16 v1, 0xf0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Lkairo/android/ui/r;->a:[I

    iput-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    const-string v0, ""

    iput-object v0, p0, Lkairo/android/ui/r;->c:Ljava/lang/String;

    iput-object p1, p0, Lkairo/android/ui/r;->g:Ljava/lang/String;

    iput v1, p0, Lkairo/android/ui/r;->d:I

    iput v1, p0, Lkairo/android/ui/r;->e:I

    const/16 v0, 0x64

    iput v0, p0, Lkairo/android/ui/r;->G:I

    iput-object p2, p0, Lkairo/android/ui/r;->h:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>([B)V
    .locals 2

    const/4 v0, 0x0

    const/16 v1, 0xf0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Lkairo/android/ui/r;->a:[I

    iput-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    const-string v0, ""

    iput-object v0, p0, Lkairo/android/ui/r;->c:Ljava/lang/String;

    iput-object p1, p0, Lkairo/android/ui/r;->f:[B

    iput v1, p0, Lkairo/android/ui/r;->d:I

    iput v1, p0, Lkairo/android/ui/r;->e:I

    const/16 v0, 0x64

    iput v0, p0, Lkairo/android/ui/r;->G:I

    return-void
.end method

.method public static a(II)Lkairo/android/ui/r;
    .locals 2

    const/4 v0, 0x1

    sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    invoke-static {p0, p1, v0, v1}, Lkairo/android/ui/r;->a(IIZLandroid/graphics/Bitmap$Config;)Lkairo/android/ui/r;

    move-result-object v0

    return-object v0
.end method

.method public static a(IILandroid/graphics/Bitmap$Config;)Lkairo/android/ui/r;
    .locals 1

    const/4 v0, 0x1

    invoke-static {p0, p1, v0, p2}, Lkairo/android/ui/r;->a(IIZLandroid/graphics/Bitmap$Config;)Lkairo/android/ui/r;

    move-result-object v0

    return-object v0
.end method

.method public static a(IIZLandroid/graphics/Bitmap$Config;)Lkairo/android/ui/r;
    .locals 4

    invoke-static {}, Lkairo/android/ui/IApplication;->a()Lkairo/android/ui/IApplication;

    move-result-object v1

    const/16 v0, 0x64

    if-eqz p2, :cond_0

    invoke-virtual {v1}, Lkairo/android/ui/IApplication;->e()I

    move-result v0

    :cond_0
    const/4 v1, 0x0

    move v2, v1

    :goto_0
    mul-int v1, p0, v0

    :try_start_0
    div-int/lit8 v1, v1, 0x64

    mul-int v3, p1, v0

    div-int/lit8 v3, v3, 0x64

    invoke-static {v1, v3, p3}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    new-instance v2, Lkairo/android/ui/r;

    invoke-direct {v2, v1}, Lkairo/android/ui/r;-><init>(Landroid/graphics/Bitmap;)V

    iget v1, v2, Lkairo/android/ui/r;->d:I

    iput v1, v2, Lkairo/android/ui/r;->E:I

    iget v1, v2, Lkairo/android/ui/r;->e:I

    iput v1, v2, Lkairo/android/ui/r;->F:I

    iput v0, v2, Lkairo/android/ui/r;->G:I

    iput p0, v2, Lkairo/android/ui/r;->d:I

    iput p1, v2, Lkairo/android/ui/r;->e:I

    return-object v2

    :catch_0
    move-exception v1

    invoke-static {v2, v1}, Lkairo/android/ui/r;->a(ILjava/lang/OutOfMemoryError;)V

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_0
.end method

.method public static a([B)Lkairo/android/ui/r;
    .locals 1

    invoke-static {p0}, Lkairo/android/ui/r;->b([B)Lkairo/android/ui/r;

    move-result-object v0

    return-object v0
.end method

.method private static a(ILjava/lang/OutOfMemoryError;)V
    .locals 3

    const/4 v2, 0x3

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v0

    invoke-virtual {v0}, Lkairo/android/ui/a;->p()Lkairo/android/h/e;

    move-result-object v0

    sget-boolean v1, Lkairo/android/ui/r;->H:Z

    if-eqz v1, :cond_4

    if-eqz p0, :cond_0

    const/4 v1, 0x1

    if-ne p0, v1, :cond_1

    invoke-virtual {v0}, Lkairo/android/h/e;->j()V

    :cond_0
    invoke-static {}, Ljava/lang/System;->gc()V

    return-void

    :cond_1
    const/4 v0, 0x2

    if-ne p0, v0, :cond_3

    sget-object v0, Lkairo/android/ui/r;->o:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    if-ltz v1, :cond_0

    sget-object v0, Lkairo/android/ui/r;->o:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/ui/r;

    iget-object v2, v0, Lkairo/android/ui/r;->n:Landroid/graphics/Bitmap;

    if-eqz v2, :cond_2

    iget-object v2, v0, Lkairo/android/ui/r;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->recycle()V

    :cond_2
    const/4 v2, 0x0

    iput-object v2, v0, Lkairo/android/ui/r;->n:Landroid/graphics/Bitmap;

    sget-object v0, Lkairo/android/ui/r;->o:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->removeElementAt(I)V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0

    :cond_3
    if-lt p0, v2, :cond_0

    throw p1

    :cond_4
    if-eqz p0, :cond_0

    if-lt p0, v2, :cond_0

    throw p1
.end method

.method private a(Ljava/io/InputStream;[Lkairo/android/ui/r;)V
    .locals 15

    move-object/from16 v0, p2

    iput-object v0, p0, Lkairo/android/ui/r;->y:[Lkairo/android/ui/r;

    const/4 v1, 0x0

    iput-object v1, p0, Lkairo/android/ui/r;->w:[B

    const/4 v5, 0x0

    new-instance v8, Ljava/util/Vector;

    invoke-direct {v8}, Ljava/util/Vector;-><init>()V

    new-instance v9, Ljava/util/Vector;

    invoke-direct {v9}, Ljava/util/Vector;-><init>()V

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v1

    iput-byte v1, p0, Lkairo/android/ui/r;->z:B

    iget-byte v1, p0, Lkairo/android/ui/r;->z:B

    const/4 v2, -0x1

    if-ne v1, v2, :cond_f

    const/4 v1, -0x1

    iput-byte v1, p0, Lkairo/android/ui/r;->A:B

    const/4 v1, 0x1

    iput v1, p0, Lkairo/android/ui/r;->v:I

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v1

    new-array v6, v1, [[S

    mul-int/lit8 v1, v1, 0x4

    new-array v1, v1, [B

    iput-object v1, p0, Lkairo/android/ui/r;->w:[B

    const/4 v2, 0x0

    const/4 v1, 0x0

    move v3, v1

    :goto_0
    array-length v1, v6

    if-ge v3, v1, :cond_7

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v7

    const/4 v4, 0x0

    const/4 v1, 0x4

    new-array v10, v1, [S

    const/4 v1, 0x0

    :goto_1
    array-length v11, v10

    if-ge v1, v11, :cond_1

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v11

    and-int/lit16 v11, v11, 0xff

    int-to-short v11, v11

    aput-short v11, v10, v1

    aget-short v11, v10, v1

    const/16 v12, 0xff

    if-le v11, v12, :cond_0

    const/4 v4, 0x1

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_1
    if-nez v4, :cond_2

    const/4 v1, 0x0

    aget-short v1, v10, v1

    const/16 v4, 0xff

    if-ne v1, v4, :cond_4

    :cond_2
    if-nez v2, :cond_25

    new-instance v1, Ljava/util/Vector;

    invoke-direct {v1}, Ljava/util/Vector;-><init>()V

    :goto_2
    invoke-virtual {v1, v10}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    mul-int/lit8 v4, v3, 0x4

    add-int/lit8 v4, v4, 0x0

    const/4 v10, -0x1

    aput-byte v10, v2, v4

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    mul-int/lit8 v4, v3, 0x4

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v10

    add-int/lit8 v10, v10, -0x1

    int-to-byte v10, v10

    aput-byte v10, v2, v4

    move-object v2, v1

    :cond_3
    mul-int/lit8 v1, v7, 0x7

    new-array v1, v1, [S

    aput-object v1, v6, v3

    const/4 v1, 0x0

    :goto_3
    aget-object v4, v6, v3

    array-length v4, v4

    if-ge v1, v4, :cond_5

    aget-object v4, v6, v3

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->d(Ljava/io/InputStream;)S

    move-result v10

    aput-short v10, v4, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    :cond_4
    const/4 v1, 0x0

    :goto_4
    array-length v4, v10

    if-ge v1, v4, :cond_3

    iget-object v4, p0, Lkairo/android/ui/r;->w:[B

    mul-int/lit8 v11, v3, 0x4

    add-int/2addr v11, v1

    aget-short v12, v10, v1

    int-to-byte v12, v12

    aput-byte v12, v4, v11

    add-int/lit8 v1, v1, 0x1

    goto :goto_4

    :cond_5
    iget v1, p0, Lkairo/android/ui/r;->v:I

    if-ge v1, v7, :cond_6

    iput v7, p0, Lkairo/android/ui/r;->v:I

    :cond_6
    add-int/lit8 v1, v3, 0x1

    move v3, v1

    goto :goto_0

    :cond_7
    if-eqz v2, :cond_8

    invoke-virtual {v2}, Ljava/util/Vector;->size()I

    move-result v1

    mul-int/lit8 v1, v1, 0x4

    new-array v1, v1, [S

    iput-object v1, p0, Lkairo/android/ui/r;->x:[S

    const/4 v1, 0x0

    move v3, v1

    :goto_5
    invoke-virtual {v2}, Ljava/util/Vector;->size()I

    move-result v1

    if-ge v3, v1, :cond_8

    invoke-virtual {v2, v3}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [S

    const/4 v4, 0x0

    iget-object v7, p0, Lkairo/android/ui/r;->x:[S

    mul-int/lit8 v10, v3, 0x4

    const/4 v11, 0x4

    invoke-static {v1, v4, v7, v10, v11}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    add-int/lit8 v1, v3, 0x1

    move v3, v1

    goto :goto_5

    :cond_8
    array-length v1, v6

    iget v2, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v1, v2

    new-array v1, v1, [S

    iput-object v1, p0, Lkairo/android/ui/r;->s:[S

    const/4 v1, 0x0

    move v3, v5

    move v5, v1

    :goto_6
    array-length v1, v6

    if-ge v5, v1, :cond_1d

    aget-object v7, v6, v5

    const/4 v1, 0x0

    :goto_7
    iget v2, p0, Lkairo/android/ui/r;->v:I

    if-ge v1, v2, :cond_9

    iget-object v2, p0, Lkairo/android/ui/r;->s:[S

    iget v4, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v4, v5

    add-int/2addr v4, v1

    const/4 v10, -0x1

    aput-short v10, v2, v4

    add-int/lit8 v1, v1, 0x1

    goto :goto_7

    :cond_9
    const/4 v2, 0x0

    const/4 v1, 0x0

    move v4, v2

    move v14, v1

    move v1, v3

    move v3, v14

    :goto_8
    array-length v2, v7

    if-ge v4, v2, :cond_e

    const/4 v2, 0x7

    new-array v10, v2, [B

    const/4 v2, 0x0

    :goto_9
    const/4 v11, 0x7

    if-ge v2, v11, :cond_a

    add-int v11, v4, v2

    aget-short v11, v7, v11

    int-to-byte v11, v11

    aput-byte v11, v10, v2

    add-int/lit8 v2, v2, 0x1

    goto :goto_9

    :cond_a
    const/4 v2, 0x0

    aget-byte v2, v10, v2

    add-int/lit8 v11, v4, 0x0

    aget-short v11, v7, v11

    if-ne v2, v11, :cond_b

    const/4 v2, 0x1

    aget-byte v2, v10, v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v11, v4, 0x1

    aget-short v11, v7, v11

    if-ne v2, v11, :cond_b

    const/4 v2, 0x2

    aget-byte v2, v10, v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v11, v4, 0x2

    aget-short v11, v7, v11

    if-ne v2, v11, :cond_b

    const/4 v2, 0x3

    aget-byte v2, v10, v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v11, v4, 0x3

    aget-short v11, v7, v11

    if-ne v2, v11, :cond_b

    const/4 v2, 0x4

    aget-byte v2, v10, v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v11, v4, 0x4

    aget-short v11, v7, v11

    if-ne v2, v11, :cond_b

    const/4 v2, 0x5

    aget-byte v2, v10, v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v11, v4, 0x5

    aget-short v11, v7, v11

    if-ne v2, v11, :cond_b

    const/4 v2, 0x6

    aget-byte v2, v10, v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v11, v4, 0x6

    aget-short v11, v7, v11

    if-eq v2, v11, :cond_d

    :cond_b
    invoke-virtual {v9, v7}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    invoke-virtual {v9}, Ljava/util/Vector;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    int-to-short v2, v2

    if-ge v1, v2, :cond_c

    move v1, v2

    :cond_c
    const v10, 0x8000

    or-int/2addr v2, v10

    int-to-short v2, v2

    move v14, v2

    move v2, v1

    move v1, v14

    :goto_a
    iget-object v10, p0, Lkairo/android/ui/r;->s:[S

    iget v11, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v11, v5

    add-int/2addr v11, v3

    aput-short v1, v10, v11

    add-int/lit8 v4, v4, 0x7

    add-int/lit8 v1, v3, 0x1

    move v3, v1

    move v1, v2

    goto/16 :goto_8

    :cond_d
    invoke-virtual {v8, v10}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    invoke-virtual {v8}, Ljava/util/Vector;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    int-to-short v2, v2

    if-ge v1, v2, :cond_24

    move v1, v2

    goto :goto_a

    :cond_e
    const/4 v2, 0x0

    aput-object v2, v6, v5

    add-int/lit8 v2, v5, 0x1

    move v5, v2

    move v3, v1

    goto/16 :goto_6

    :cond_f
    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v1

    iput-byte v1, p0, Lkairo/android/ui/r;->A:B

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v1

    iput v1, p0, Lkairo/android/ui/r;->t:I

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v1

    iput v1, p0, Lkairo/android/ui/r;->u:I

    const/4 v1, 0x1

    iput v1, p0, Lkairo/android/ui/r;->v:I

    iget v1, p0, Lkairo/android/ui/r;->u:I

    iget v2, p0, Lkairo/android/ui/r;->t:I

    filled-new-array {v1, v2}, [I

    move-result-object v1

    const-class v2, [S

    invoke-static {v2, v1}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [[[S

    const/4 v2, 0x0

    :goto_b
    array-length v3, v1

    if-ge v2, v3, :cond_13

    const/4 v3, 0x0

    :goto_c
    aget-object v4, v1, v2

    array-length v4, v4

    if-ge v3, v4, :cond_12

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->c(Ljava/io/InputStream;)B

    move-result v6

    aget-object v4, v1, v2

    mul-int/lit8 v7, v6, 0x7

    new-array v7, v7, [S

    aput-object v7, v4, v3

    aget-object v4, v1, v2

    aget-object v7, v4, v3

    const/4 v4, 0x0

    :goto_d
    array-length v10, v7

    if-ge v4, v10, :cond_10

    invoke-static/range {p1 .. p1}, Lkairo/android/i/l;->d(Ljava/io/InputStream;)S

    move-result v10

    aput-short v10, v7, v4

    add-int/lit8 v4, v4, 0x1

    goto :goto_d

    :cond_10
    iget v4, p0, Lkairo/android/ui/r;->v:I

    if-ge v4, v6, :cond_11

    iput v6, p0, Lkairo/android/ui/r;->v:I

    :cond_11
    add-int/lit8 v3, v3, 0x1

    goto :goto_c

    :cond_12
    add-int/lit8 v2, v2, 0x1

    goto :goto_b

    :cond_13
    iget v2, p0, Lkairo/android/ui/r;->t:I

    iget v3, p0, Lkairo/android/ui/r;->u:I

    mul-int/2addr v2, v3

    iget v3, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v2, v3

    new-array v2, v2, [S

    iput-object v2, p0, Lkairo/android/ui/r;->s:[S

    const/4 v2, 0x0

    move v7, v2

    move v4, v5

    :goto_e
    array-length v2, v1

    if-ge v7, v2, :cond_1c

    const/4 v2, 0x0

    move v6, v2

    :goto_f
    aget-object v2, v1, v7

    array-length v2, v2

    if-ge v6, v2, :cond_1b

    aget-object v2, v1, v7

    aget-object v10, v2, v6

    const/4 v2, 0x0

    :goto_10
    iget v3, p0, Lkairo/android/ui/r;->v:I

    if-ge v2, v3, :cond_14

    iget-object v3, p0, Lkairo/android/ui/r;->s:[S

    iget v5, p0, Lkairo/android/ui/r;->t:I

    mul-int/2addr v5, v7

    add-int/2addr v5, v6

    iget v11, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v5, v11

    add-int/2addr v5, v2

    const/4 v11, -0x1

    aput-short v11, v3, v5

    add-int/lit8 v2, v2, 0x1

    goto :goto_10

    :cond_14
    const/4 v3, 0x0

    const/4 v2, 0x0

    move v5, v3

    move v14, v2

    move v2, v4

    move v4, v14

    :goto_11
    array-length v3, v10

    if-ge v5, v3, :cond_1a

    const/4 v3, 0x7

    new-array v11, v3, [B

    const/4 v3, 0x0

    :goto_12
    const/4 v12, 0x7

    if-ge v3, v12, :cond_15

    add-int v12, v5, v3

    aget-short v12, v10, v12

    int-to-byte v12, v12

    aput-byte v12, v11, v3

    add-int/lit8 v3, v3, 0x1

    goto :goto_12

    :cond_15
    const/4 v3, 0x0

    aget-byte v3, v11, v3

    add-int/lit8 v12, v5, 0x0

    aget-short v12, v10, v12

    if-ne v3, v12, :cond_16

    const/4 v3, 0x1

    aget-byte v3, v11, v3

    and-int/lit16 v3, v3, 0xff

    add-int/lit8 v12, v5, 0x1

    aget-short v12, v10, v12

    if-ne v3, v12, :cond_16

    const/4 v3, 0x2

    aget-byte v3, v11, v3

    and-int/lit16 v3, v3, 0xff

    add-int/lit8 v12, v5, 0x2

    aget-short v12, v10, v12

    if-ne v3, v12, :cond_16

    const/4 v3, 0x3

    aget-byte v3, v11, v3

    and-int/lit16 v3, v3, 0xff

    add-int/lit8 v12, v5, 0x3

    aget-short v12, v10, v12

    if-ne v3, v12, :cond_16

    const/4 v3, 0x4

    aget-byte v3, v11, v3

    and-int/lit16 v3, v3, 0xff

    add-int/lit8 v12, v5, 0x4

    aget-short v12, v10, v12

    if-ne v3, v12, :cond_16

    const/4 v3, 0x5

    aget-byte v3, v11, v3

    and-int/lit16 v3, v3, 0xff

    add-int/lit8 v12, v5, 0x5

    aget-short v12, v10, v12

    if-ne v3, v12, :cond_16

    const/4 v3, 0x6

    aget-byte v3, v11, v3

    and-int/lit16 v3, v3, 0xff

    add-int/lit8 v12, v5, 0x6

    aget-short v12, v10, v12

    if-eq v3, v12, :cond_19

    :cond_16
    invoke-virtual {v9, v10}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    invoke-virtual {v9}, Ljava/util/Vector;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    int-to-short v3, v3

    if-ge v2, v3, :cond_17

    move v2, v3

    :cond_17
    const v11, 0x8000

    or-int/2addr v3, v11

    int-to-short v3, v3

    :cond_18
    :goto_13
    iget-object v11, p0, Lkairo/android/ui/r;->s:[S

    iget v12, p0, Lkairo/android/ui/r;->t:I

    mul-int/2addr v12, v7

    add-int/2addr v12, v6

    iget v13, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v12, v13

    add-int/2addr v12, v4

    aput-short v3, v11, v12

    add-int/lit8 v5, v5, 0x7

    add-int/lit8 v3, v4, 0x1

    move v4, v3

    goto/16 :goto_11

    :cond_19
    invoke-virtual {v8, v11}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    invoke-virtual {v8}, Ljava/util/Vector;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    int-to-short v3, v3

    if-ge v2, v3, :cond_18

    move v2, v3

    goto :goto_13

    :cond_1a
    aget-object v3, v1, v7

    const/4 v4, 0x0

    aput-object v4, v3, v6

    add-int/lit8 v3, v6, 0x1

    move v6, v3

    move v4, v2

    goto/16 :goto_f

    :cond_1b
    add-int/lit8 v2, v7, 0x1

    move v7, v2

    goto/16 :goto_e

    :cond_1c
    move v3, v4

    :cond_1d
    const/16 v1, 0x7f

    if-ge v3, v1, :cond_21

    iget-object v1, p0, Lkairo/android/ui/r;->s:[S

    array-length v1, v1

    new-array v1, v1, [B

    iput-object v1, p0, Lkairo/android/ui/r;->r:[B

    const/4 v1, 0x0

    :goto_14
    iget-object v2, p0, Lkairo/android/ui/r;->r:[B

    array-length v2, v2

    if-ge v1, v2, :cond_20

    iget-object v2, p0, Lkairo/android/ui/r;->s:[S

    aget-short v2, v2, v1

    const/4 v3, -0x1

    if-ne v2, v3, :cond_1f

    iget-object v2, p0, Lkairo/android/ui/r;->r:[B

    const/4 v3, -0x1

    aput-byte v3, v2, v1

    :cond_1e
    :goto_15
    add-int/lit8 v1, v1, 0x1

    goto :goto_14

    :cond_1f
    iget-object v2, p0, Lkairo/android/ui/r;->r:[B

    iget-object v3, p0, Lkairo/android/ui/r;->s:[S

    aget-short v3, v3, v1

    and-int/lit8 v3, v3, 0x7f

    int-to-byte v3, v3

    aput-byte v3, v2, v1

    iget-object v2, p0, Lkairo/android/ui/r;->s:[S

    aget-short v2, v2, v1

    const v3, 0x8000

    and-int/2addr v2, v3

    if-eqz v2, :cond_1e

    iget-object v2, p0, Lkairo/android/ui/r;->r:[B

    aget-byte v3, v2, v1

    or-int/lit16 v3, v3, 0x80

    int-to-byte v3, v3

    aput-byte v3, v2, v1

    goto :goto_15

    :cond_20
    const/4 v1, 0x0

    iput-object v1, p0, Lkairo/android/ui/r;->s:[S

    :cond_21
    invoke-virtual {v8}, Ljava/util/Vector;->size()I

    move-result v1

    if-lez v1, :cond_22

    invoke-virtual {v8}, Ljava/util/Vector;->size()I

    move-result v1

    mul-int/lit8 v1, v1, 0x7

    new-array v1, v1, [B

    iput-object v1, p0, Lkairo/android/ui/r;->p:[B

    const/4 v1, 0x0

    move v2, v1

    :goto_16
    invoke-virtual {v8}, Ljava/util/Vector;->size()I

    move-result v1

    if-ge v2, v1, :cond_22

    invoke-virtual {v8, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [B

    const/4 v3, 0x0

    iget-object v4, p0, Lkairo/android/ui/r;->p:[B

    mul-int/lit8 v5, v2, 0x7

    const/4 v6, 0x7

    invoke-static {v1, v3, v4, v5, v6}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_16

    :cond_22
    invoke-virtual {v9}, Ljava/util/Vector;->size()I

    move-result v1

    if-lez v1, :cond_23

    invoke-virtual {v9}, Ljava/util/Vector;->size()I

    move-result v1

    mul-int/lit8 v1, v1, 0x7

    new-array v1, v1, [S

    iput-object v1, p0, Lkairo/android/ui/r;->q:[S

    const/4 v1, 0x0

    move v2, v1

    :goto_17
    invoke-virtual {v9}, Ljava/util/Vector;->size()I

    move-result v1

    if-ge v2, v1, :cond_23

    invoke-virtual {v9, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [S

    const/4 v3, 0x0

    iget-object v4, p0, Lkairo/android/ui/r;->q:[S

    mul-int/lit8 v5, v2, 0x7

    const/4 v6, 0x7

    invoke-static {v1, v3, v4, v5, v6}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_17

    :cond_23
    return-void

    :cond_24
    move v14, v2

    move v2, v1

    move v1, v14

    goto/16 :goto_a

    :cond_25
    move-object v1, v2

    goto/16 :goto_2
.end method

.method public static a(Z)V
    .locals 0

    sput-boolean p0, Lkairo/android/ui/r;->H:Z

    return-void
.end method

.method public static a([B[B)[B
    .locals 7

    const/4 v2, 0x0

    const/16 v0, 0xd

    const/4 v6, 0x0

    const/4 v5, 0x1

    if-eqz p1, :cond_0

    if-nez p0, :cond_1

    :cond_0
    :goto_0
    return-object p0

    :cond_1
    array-length v1, p1

    div-int/lit8 v1, v1, 0x3

    if-eqz p1, :cond_0

    if-eqz p0, :cond_0

    if-eqz p0, :cond_2

    array-length v3, p0

    const/4 v4, 0x4

    if-lt v3, v4, :cond_2

    aget-byte v3, p0, v6

    const/16 v4, 0x47

    if-ne v3, v4, :cond_2

    aget-byte v3, p0, v5

    const/16 v4, 0x49

    if-ne v3, v4, :cond_2

    const/4 v3, 0x2

    aget-byte v3, p0, v3

    const/16 v4, 0x46

    if-ne v3, v4, :cond_2

    const/16 v3, 0xa

    aget-byte v3, p0, v3

    shr-int/lit8 v4, v3, 0x7

    and-int/lit8 v4, v4, 0x1

    if-ne v4, v5, :cond_5

    sget-object v2, Lkairo/android/ui/r;->M:[I

    aput v0, v2, v6

    sget-object v0, Lkairo/android/ui/r;->M:[I

    and-int/lit8 v2, v3, 0x7

    add-int/lit8 v2, v2, 0x1

    invoke-static {v2}, Lkairo/android/f/a;->a(I)I

    move-result v2

    aput v2, v0, v5

    sget-object v0, Lkairo/android/ui/r;->M:[I

    move-object v2, v0

    :cond_2
    :goto_1
    if-eqz v2, :cond_0

    add-int/lit8 v0, v1, 0x0

    array-length v3, p1

    div-int/lit8 v3, v3, 0x3

    if-le v0, v3, :cond_6

    array-length v0, p1

    div-int/lit8 v0, v0, 0x3

    add-int/lit8 v0, v0, 0x0

    :goto_2
    add-int/lit8 v1, v0, 0x0

    aget v3, v2, v5

    if-le v1, v3, :cond_3

    aget v0, v2, v5

    add-int/lit8 v0, v0, 0x0

    :cond_3
    aget v1, v2, v6

    add-int/lit8 v1, v1, 0x0

    mul-int/lit8 v0, v0, 0x3

    invoke-static {p1, v6, p0, v1, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    goto :goto_0

    :cond_4
    const/16 v4, 0x21

    if-ne v3, v4, :cond_2

    add-int/lit8 v3, v0, 0x2

    aget-byte v3, p0, v3

    add-int/lit8 v3, v3, 0x3

    add-int/2addr v0, v3

    aget-byte v3, p0, v0

    if-nez v3, :cond_5

    add-int/lit8 v0, v0, 0x1

    :cond_5
    array-length v3, p0

    if-ge v0, v3, :cond_2

    aget-byte v3, p0, v0

    const/16 v4, 0x2c

    if-ne v3, v4, :cond_4

    add-int/lit8 v3, v0, 0x9

    aget-byte v3, p0, v3

    shr-int/lit8 v4, v3, 0x7

    and-int/lit8 v4, v4, 0x1

    if-ne v4, v5, :cond_2

    sget-object v2, Lkairo/android/ui/r;->M:[I

    add-int/lit8 v0, v0, 0xa

    aput v0, v2, v6

    sget-object v0, Lkairo/android/ui/r;->M:[I

    and-int/lit8 v2, v3, 0x7

    add-int/lit8 v2, v2, 0x1

    invoke-static {v2}, Lkairo/android/f/a;->a(I)I

    move-result v2

    aput v2, v0, v5

    sget-object v0, Lkairo/android/ui/r;->M:[I

    move-object v2, v0

    goto :goto_1

    :cond_6
    move v0, v1

    goto :goto_2
.end method

.method public static b(II)Lkairo/android/ui/r;
    .locals 2

    const/4 v0, 0x0

    sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    invoke-static {p0, p1, v0, v1}, Lkairo/android/ui/r;->a(IIZLandroid/graphics/Bitmap$Config;)Lkairo/android/ui/r;

    move-result-object v0

    return-object v0
.end method

.method public static b([B)Lkairo/android/ui/r;
    .locals 5

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    :try_start_0
    new-instance v0, Lkairo/android/ui/r;

    const/4 v2, 0x0

    array-length v3, p0


    const-string v4, "Decode1"

    invoke-static {v4}, Lcom/liyong/test/Util;->LogWhat(Ljava/lang/String;)V

    #图片读取
    #invoke-static {p0}, Lcom/liyong/test/Util;->LogByteArr([B)V


    invoke-static {p0, v2, v3}, Landroid/graphics/BitmapFactory;->decodeByteArray([BII)Landroid/graphics/Bitmap;

    move-result-object v2

    invoke-direct {v0, v2}, Lkairo/android/ui/r;-><init>(Landroid/graphics/Bitmap;)V
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    move-exception v0

    invoke-static {v1, v0}, Lkairo/android/ui/r;->a(ILjava/lang/OutOfMemoryError;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method private c(II)[I
    .locals 9

    const/4 v8, 0x4

    const/4 v7, 0x3

    const/4 v6, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    mul-int/lit8 v0, p2, 0x7

    sget-object v1, Lkairo/android/ui/r;->I:[I

    if-nez p1, :cond_0

    iget-object v2, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v3, v0, 0x0

    aget-byte v2, v2, v3

    aput v2, v1, v4

    iget-object v2, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v3, v0, 0x1

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v5

    iget-object v2, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v3, v0, 0x2

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v6

    iget-object v2, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v3, v0, 0x3

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v7

    iget-object v2, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v3, v0, 0x4

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v8

    const/4 v2, 0x5

    iget-object v3, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v4, v0, 0x5

    aget-byte v3, v3, v4

    and-int/lit16 v3, v3, 0xff

    aput v3, v1, v2

    const/4 v2, 0x6

    iget-object v3, p0, Lkairo/android/ui/r;->p:[B

    add-int/lit8 v0, v0, 0x6

    aget-byte v0, v3, v0

    and-int/lit16 v0, v0, 0xff

    aput v0, v1, v2

    :goto_0
    return-object v1

    :cond_0
    iget-object v2, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v3, v0, 0x0

    aget-short v2, v2, v3

    aput v2, v1, v4

    iget-object v2, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v3, v0, 0x1

    aget-short v2, v2, v3

    aput v2, v1, v5

    iget-object v2, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v3, v0, 0x2

    aget-short v2, v2, v3

    aput v2, v1, v6

    iget-object v2, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v3, v0, 0x3

    aget-short v2, v2, v3

    aput v2, v1, v7

    iget-object v2, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v3, v0, 0x4

    aget-short v2, v2, v3

    aput v2, v1, v8

    const/4 v2, 0x5

    iget-object v3, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v4, v0, 0x5

    aget-short v3, v3, v4

    aput v3, v1, v2

    const/4 v2, 0x6

    iget-object v3, p0, Lkairo/android/ui/r;->q:[S

    add-int/lit8 v0, v0, 0x6

    aget-short v0, v3, v0

    aput v0, v1, v2

    goto :goto_0
.end method

.method private k()V
    .locals 3

    const/4 v1, 0x0

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lkairo/android/ui/r;->f:[B

    if-nez v0, :cond_2

    iget-object v0, p0, Lkairo/android/ui/r;->g:Ljava/lang/String;

    if-eqz v0, :cond_0

    :cond_2
    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_3
    iput-object v1, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lkairo/android/ui/r;->n:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lkairo/android/ui/r;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_4
    iput-object v1, p0, Lkairo/android/ui/r;->n:Landroid/graphics/Bitmap;

    sget-object v0, Lkairo/android/ui/r;->o:Ljava/util/Vector;

    invoke-virtual {v0, p0}, Ljava/util/Vector;->removeElement(Ljava/lang/Object;)Z

    sget-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    invoke-virtual {v0, p0}, Lkairo/android/i/e;->d(Ljava/lang/Object;)Z

    sget v0, Lkairo/android/ui/r;->j:I

    iget v1, p0, Lkairo/android/ui/r;->d:I

    iget v2, p0, Lkairo/android/ui/r;->e:I

    mul-int/2addr v1, v2

    sub-int/2addr v0, v1

    sput v0, Lkairo/android/ui/r;->j:I

    goto :goto_0
.end method


# virtual methods
.method public final a()Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public final a(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lkairo/android/ui/r;->c:Ljava/lang/String;

    return-void
.end method

.method public final a([B[Lkairo/android/ui/r;)V
    .locals 3

    const/4 v2, 0x0

    :try_start_0
    new-instance v1, Ljava/io/ByteArrayInputStream;

    invoke-direct {v1, p1}, Ljava/io/ByteArrayInputStream;-><init>([B)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :try_start_1
    invoke-direct {p0, v1, p2}, Lkairo/android/ui/r;->a(Ljava/io/InputStream;[Lkairo/android/ui/r;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    invoke-virtual {v1}, Ljava/io/ByteArrayInputStream;->close()V

    return-void

    :catchall_0
    move-exception v0

    move-object v1, v2

    :goto_0
    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/io/ByteArrayInputStream;->close()V

    :cond_0
    throw v0

    :catchall_1
    move-exception v0

    goto :goto_0
.end method

.method public final a(I)[I
    .locals 8

    const/4 v7, 0x3

    const/4 v6, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    mul-int/lit8 v0, p1, 0x4

    sget-object v1, Lkairo/android/ui/r;->J:[I

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    add-int/lit8 v3, v0, 0x0

    aget-byte v2, v2, v3

    const/4 v3, -0x1

    if-eq v2, v3, :cond_0

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    add-int/lit8 v3, v0, 0x0

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v4

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    add-int/lit8 v3, v0, 0x1

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v5

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    add-int/lit8 v3, v0, 0x2

    aget-byte v2, v2, v3

    and-int/lit16 v2, v2, 0xff

    aput v2, v1, v6

    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    add-int/lit8 v0, v0, 0x3

    aget-byte v0, v2, v0

    and-int/lit16 v0, v0, 0xff

    aput v0, v1, v7

    :goto_0
    return-object v1

    :cond_0
    iget-object v2, p0, Lkairo/android/ui/r;->w:[B

    add-int/lit8 v0, v0, 0x1

    aget-byte v0, v2, v0

    mul-int/lit8 v0, v0, 0x4

    iget-object v2, p0, Lkairo/android/ui/r;->x:[S

    add-int/lit8 v3, v0, 0x0

    aget-short v2, v2, v3

    aput v2, v1, v4

    iget-object v2, p0, Lkairo/android/ui/r;->x:[S

    add-int/lit8 v3, v0, 0x1

    aget-short v2, v2, v3

    aput v2, v1, v5

    iget-object v2, p0, Lkairo/android/ui/r;->x:[S

    add-int/lit8 v3, v0, 0x2

    aget-short v2, v2, v3

    aput v2, v1, v6

    iget-object v2, p0, Lkairo/android/ui/r;->x:[S

    add-int/lit8 v0, v0, 0x3

    aget-short v0, v2, v0

    aput v0, v1, v7

    goto :goto_0
.end method

.method public final a(III)[I
    .locals 6

    const/4 v1, 0x1

    const/4 v0, 0x0

    const/4 v5, -0x1

    iget-object v2, p0, Lkairo/android/ui/r;->r:[B

    if-eqz v2, :cond_1

    iget-object v2, p0, Lkairo/android/ui/r;->r:[B

    iget v3, p0, Lkairo/android/ui/r;->t:I

    mul-int/2addr v3, p2

    add-int/2addr v3, p1

    iget v4, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v3, v4

    add-int/2addr v3, p3

    aget-byte v2, v2, v3

    if-eq v2, v5, :cond_3

    and-int/lit16 v3, v2, 0x80

    if-nez v3, :cond_0

    :goto_0
    and-int/lit8 v1, v2, 0x7f

    invoke-direct {p0, v0, v1}, Lkairo/android/ui/r;->c(II)[I

    move-result-object v0

    :goto_1
    return-object v0

    :cond_0
    move v0, v1

    goto :goto_0

    :cond_1
    iget-object v2, p0, Lkairo/android/ui/r;->s:[S

    if-eqz v2, :cond_3

    iget-object v2, p0, Lkairo/android/ui/r;->s:[S

    iget v3, p0, Lkairo/android/ui/r;->t:I

    mul-int/2addr v3, p2

    add-int/2addr v3, p1

    iget v4, p0, Lkairo/android/ui/r;->v:I

    mul-int/2addr v3, v4

    add-int/2addr v3, p3

    aget-short v2, v2, v3

    if-eq v2, v5, :cond_3

    const v3, 0x8000

    and-int/2addr v3, v2

    if-nez v3, :cond_2

    :goto_2
    and-int/lit16 v1, v2, 0x7fff

    invoke-direct {p0, v0, v1}, Lkairo/android/ui/r;->c(II)[I

    move-result-object v0

    goto :goto_1

    :cond_2
    move v0, v1

    goto :goto_2

    :cond_3
    const/4 v0, 0x0

    goto :goto_1
.end method

.method public final a(S)[I
    .locals 2

    const v0, 0x8000

    and-int/2addr v0, p1

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    and-int/lit16 v1, p1, 0x7fff

    invoke-direct {p0, v0, v1}, Lkairo/android/ui/r;->c(II)[I

    move-result-object v0

    return-object v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public final b(I)Landroid/graphics/Bitmap;
    .locals 9

    const/4 v3, 0x0

    const v8, 0xffffff

    const/4 v2, 0x0

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    if-nez v0, :cond_0

    move-object v0, v3

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    iget-object v1, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    sget-object v4, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    if-eqz v4, :cond_4

    sget-object v4, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v4

    iget-object v5, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    if-lt v4, v5, :cond_1

    sget-object v4, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    iget-object v5, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    if-ge v4, v5, :cond_4

    :cond_1
    sget-object v4, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v4

    if-ge v0, v4, :cond_2

    sget-object v0, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    :cond_2
    sget-object v4, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    if-ge v1, v4, :cond_3

    sget-object v1, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    :cond_3
    sput-object v3, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    sput-object v3, Lkairo/android/ui/r;->L:[I

    :cond_4
    sget-object v3, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    if-nez v3, :cond_5

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v0, v1, v3}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v3

    sput-object v3, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    mul-int/2addr v0, v1

    new-array v0, v0, [I

    sput-object v0, Lkairo/android/ui/r;->L:[I

    :cond_5
    sget-object v0, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    invoke-static {v2, v2, v2, v2}, Landroid/graphics/Color;->argb(IIII)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Bitmap;->eraseColor(I)V

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v7

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    sget-object v1, Lkairo/android/ui/r;->L:[I

    move v4, v2

    move v5, v2

    move v6, v3

    invoke-virtual/range {v0 .. v7}, Landroid/graphics/Bitmap;->getPixels([IIIIIII)V

    mul-int v1, v7, v3

    and-int v4, p1, v8

    move v0, v2

    :goto_1
    if-ge v0, v1, :cond_7

    sget-object v5, Lkairo/android/ui/r;->L:[I

    aget v5, v5, v0

    and-int/2addr v5, v8

    if-ne v5, v4, :cond_6

    sget-object v5, Lkairo/android/ui/r;->L:[I

    sget-object v6, Lkairo/android/ui/r;->L:[I

    aget v6, v6, v0

    and-int/2addr v6, v8

    aput v6, v5, v0

    :cond_6
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_7
    sget-object v0, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    sget-object v1, Lkairo/android/ui/r;->L:[I

    move v4, v2

    move v5, v2

    move v6, v3

    invoke-virtual/range {v0 .. v7}, Landroid/graphics/Bitmap;->setPixels([IIIIIII)V

    sget-object v0, Lkairo/android/ui/r;->K:Landroid/graphics/Bitmap;

    goto/16 :goto_0
.end method

.method public final b()V
    .locals 15

    const/4 v7, 0x0

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_1

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lkairo/android/ui/r;->f:[B

    if-nez v0, :cond_2

    iget-object v0, p0, Lkairo/android/ui/r;->g:Ljava/lang/String;

    if-eqz v0, :cond_0

    :cond_2
    iget-object v0, p0, Lkairo/android/ui/r;->f:[B

    if-nez v0, :cond_3

    iget-object v1, p0, Lkairo/android/ui/r;->g:Ljava/lang/String;

    if-eqz v1, :cond_3

    iget-object v0, p0, Lkairo/android/ui/r;->g:Ljava/lang/String;

    invoke-static {v0}, Lkairo/android/c/g;->b(Ljava/lang/String;)[B

    move-result-object v0

    iget-object v1, p0, Lkairo/android/ui/r;->h:Ljava/lang/String;

    if-eqz v1, :cond_3

    iget-object v1, p0, Lkairo/android/ui/r;->h:Ljava/lang/String;

    invoke-static {v1}, Lkairo/android/c/g;->b(Ljava/lang/String;)[B

    move-result-object v1

    invoke-static {v0, v1}, Lkairo/android/ui/r;->a([B[B)[B

    :cond_3
    move-object v2, v0

    if-eqz v2, :cond_0

    move v1, v7

    :goto_0
    const/4 v0, 0x0

    :try_start_0
    array-length v3, v2

    const-string v14, "Decode2"

    invoke-static {v14}, Lcom/liyong/test/Util;->LogWhat(Ljava/lang/String;)V

    #invoke-static {v2}, Lcom/liyong/test/Util;->LogByteArr([B)V


    invoke-static {v2, v0, v3}, Landroid/graphics/BitmapFactory;->decodeByteArray([BII)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    iput v0, p0, Lkairo/android/ui/r;->d:I

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    iput v0, p0, Lkairo/android/ui/r;->e:I

    sget v0, Lkairo/a/a/a;->e:I

    iput v0, p0, Lkairo/android/ui/r;->B:I

    const/16 v0, 0x64

    iput v0, p0, Lkairo/android/ui/r;->G:I

    sget-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    invoke-virtual {v0, p0}, Lkairo/android/i/e;->a(Ljava/lang/Object;)V

    sget v0, Lkairo/android/ui/r;->j:I

    iget v1, p0, Lkairo/android/ui/r;->d:I

    iget v2, p0, Lkairo/android/ui/r;->e:I

    mul-int/2addr v1, v2

    add-int/2addr v0, v1

    sput v0, Lkairo/android/ui/r;->j:I

    sget v8, Lkairo/android/ui/r;->k:I

    sget v9, Lkairo/android/ui/r;->l:I

    :goto_1
    sget-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    const/4 v1, 0x1

    if-le v0, v1, :cond_0

    if-lez v8, :cond_4

    sget-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-lt v8, v0, :cond_5

    :cond_4
    if-lez v9, :cond_0

    sget v0, Lkairo/android/ui/r;->j:I

    if-ge v9, v0, :cond_0

    :cond_5
    const/4 v5, 0x0

    const-wide/high16 v3, -0x8000000000000000L

    move v6, v7

    :goto_2
    sget-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    add-int/lit8 v0, v0, -0x1

    if-ge v6, v0, :cond_6

    sget-object v0, Lkairo/android/ui/r;->i:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v6

    check-cast v0, Lkairo/android/ui/r;

    sget v1, Lkairo/a/a/a;->e:I

    iget v2, v0, Lkairo/android/ui/r;->B:I

    sub-int/2addr v1, v2

    int-to-long v1, v1

    const-wide/16 v10, 0x3e8

    mul-long/2addr v1, v10

    iget v10, v0, Lkairo/android/ui/r;->d:I

    iget v11, v0, Lkairo/android/ui/r;->e:I

    mul-int/2addr v10, v11

    div-int/lit8 v10, v10, 0x64

    int-to-long v10, v10

    sub-long/2addr v1, v10

    cmp-long v10, v3, v1

    if-gez v10, :cond_7

    move-wide v12, v1

    move-object v2, v0

    move-wide v0, v12

    :goto_3
    add-int/lit8 v3, v6, 0x1

    move v6, v3

    move-object v5, v2

    move-wide v3, v0

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-static {v1, v0}, Lkairo/android/ui/r;->a(ILjava/lang/OutOfMemoryError;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_0

    :cond_6
    invoke-direct {v5}, Lkairo/android/ui/r;->k()V

    goto :goto_1

    :cond_7
    move-wide v0, v3

    move-object v2, v5

    goto :goto_3
.end method

.method public final c()Lkairo/android/ui/o;
    .locals 1

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    new-instance v0, Lkairo/android/ui/o;

    invoke-direct {v0, p0}, Lkairo/android/ui/o;-><init>(Lkairo/android/ui/r;)V

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final d()I
    .locals 1

    iget v0, p0, Lkairo/android/ui/r;->e:I

    return v0
.end method

.method public final e()I
    .locals 1

    iget v0, p0, Lkairo/android/ui/r;->d:I

    return v0
.end method

.method public final f()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lkairo/android/ui/r;->k()V

    iput-object v0, p0, Lkairo/android/ui/r;->y:[Lkairo/android/ui/r;

    iput-object v0, p0, Lkairo/android/ui/r;->p:[B

    iput-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    iput-object v0, p0, Lkairo/android/ui/r;->a:[I

    iput-object v0, p0, Lkairo/android/ui/r;->g:Ljava/lang/String;

    iput-object v0, p0, Lkairo/android/ui/r;->f:[B

    iput-object v0, p0, Lkairo/android/ui/r;->h:Ljava/lang/String;

    const/4 v0, 0x0

    iput v0, p0, Lkairo/android/ui/r;->e:I

    iput v0, p0, Lkairo/android/ui/r;->d:I

    return-void
.end method

.method public final g()I
    .locals 1

    iget v0, p0, Lkairo/android/ui/r;->F:I

    return v0
.end method

.method public final h()I
    .locals 1

    iget v0, p0, Lkairo/android/ui/r;->E:I

    return v0
.end method

.method public final i()I
    .locals 1

    iget v0, p0, Lkairo/android/ui/r;->G:I

    return v0
.end method

.method public final j()V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lkairo/android/ui/r;->b:Landroid/graphics/Bitmap;

    invoke-static {v1, v1, v1, v1}, Lkairo/android/ui/o;->a(IIII)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Bitmap;->eraseColor(I)V

    :cond_0
    return-void
.end method

.method public final toString()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "["

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lkairo/android/ui/r;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "] "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-super {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
